﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="record.aspx.cs" Inherits="StudentManage.Web.Personal.record" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register src="../UserControl/UC_Login.ascx" tagname="UC_Login" tagprefix="uc1" %>
<%@ Register src="../UserControl/UC_Contact.ascx" tagname="UC_Contact" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="content" class="bg2"> 
		<div class="wrap_con clearfix">
        	<div class="side">
            	<uc1:UC_Login ID="UC_Login" runat="server" ShowId="1" />
                <div class="side_box">
                	<h6>联系方式</h6>
                    <uc2:UC_Contact ID="UC_Contact" runat="server" />
                </div>
            </div>
                
        	<div class="main">
            	<div class="main_con">
                    <div class="main_tit">
                        <strong>申请记录</strong>
                        <asp:Button ID="Btn_Search" runat="server" CssClass="btn_w" Text="查 询" onclick="Btn_Search_Click" />
                        <span class="fr mr_10" style="_padding-top:8px"> 
                            <asp:TextBox ID="txt_DateEnd" runat="server" CssClass="input_txt mr_10 ui-datapicker" style="padding:2px 4px; float:right" ></asp:TextBox> 
                            <div style="float:right;">到&nbsp;&nbsp;</div>
                            <asp:TextBox ID="txt_DateStart" runat="server" CssClass="input_txt mr_10 ui-datapicker" style="padding:2px 4px; float:right" ></asp:TextBox> 
                            <div style="float:right;">申请时间：</div>
                            <asp:TextBox ID="txt_Search" runat="server"  class="input_txt mr_10" style="padding:2px 4px; float:right;" value="请输入查询的标题" onfocus='if(this.value=="请输入查询的标题"){this.value=""}' onblur='if(this.value==""){this.value="请输入查询的标题"}' ></asp:TextBox>
                        </span>
                    </div>
                    <div class="info_tb">
                    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <th>申请岗位信息</th>
                                <th align="center">审核状态</th>
                                <th align="center">评价</th>
                                <th align="center">申请时间</th>
                                <th align="center">取消申请</th>
                            </tr>
                            <asp:Repeater ID="RepApplylist" runat="server" OnItemCommand="RepApplylist_ItemCommand">
                                <ItemTemplate>
                                    <tr>
                                        <td><span class="fl"><a href="../Post/PostInfo.aspx?Pid=<%#Eval("Projectid")%>"><em class="brown">[<%#GetProjectType(Eval("Projectid").ToString())%>]</em> <%#Eval("ProjectTitle")%></a></span></td>
                                        <td align="center"><em class="<%#Convert.ToBoolean(Eval("IsEvaluate"))?"green":"brown"%>"><%#Convert.ToBoolean(Eval("IsAudit")) ? "成功" : "未成功"%></em></td>
                                        <td align="center">
                                        <a href="<%#Convert.ToBoolean(Eval("IsEvaluate"))?"assess.aspx?Pid="+Eval("id"):"#"%>"><em class="<%#Convert.ToBoolean(Eval("IsEvaluate"))?"green":"brown"%>"><%#Convert.ToBoolean(Eval("IsEvaluate"))?"已评价":"未评价"%></em></a>
                                        </td>
                                        <td align="center">[<%#Convert.ToDateTime(Eval("AddTime")).ToString("yyyy-MM-dd")%>]</td>
                                        <td align="center"><asp:Button ID="But_UnApply" runat="server" CssClass="RepBtnUn" OnClientClick="return confirm('确定取消申请？');" CommandArgument=<%#Eval("id")%> CommandName="UnApply" /></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>

                    <div class="pagenav_box">
                        <div class="pagenav">
                        <webdiyer:aspnetpager id="AspNetPager1" runat="server" pagesize="10" 
                        firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" prevpagetext="上一页" 
                        showpageindex="true" onpagechanged="AspNetPager1_PageChanged">
                        </webdiyer:aspnetpager>
                        </div>
                    </div>

                </div> 
            </div>
        </div>
    </div>
</asp:Content>
